package com.yaodian100.ec.member.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_SNS_LOG")
public class SnsLog extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6611285285866954221L;

	@Id
	@GeneratedValue(generator = "seq_ec_sns_log")
	@GenericGenerator(name = "seq_ec_sns_log", strategy = "com.yaodian100.core.common.dao.hibernate.SeqStringGenerator", parameters = {
			@Parameter(name = "sequence", value = "SEQ_EC_SNS_LOG"), @Parameter(name = "pattern", value = "0000000000") })
	@Column(name = "ID", length = 10, nullable = false)
	private String id;

	@Column(name = "PAGE_TYPE", length = 5, nullable = false)
	private String pageType;

	@Column(name = "PAGE_DATA", length = 300, nullable = false)
	private String pageData;

	@Column(name = "SNS_TYPE", length = 5)
	private String snsType;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPageType() {
		return pageType;
	}

	public void setPageType(String pageType) {
		this.pageType = pageType;
	}

	public String getPageData() {
		return pageData;
	}

	public void setPageData(String pageData) {
		this.pageData = pageData;
	}

	public String getSnsType() {
		return snsType;
	}

	public void setSnsType(String snsType) {
		this.snsType = snsType;
	}

}
